<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<title>活动修改</title>
<jsp:include page="../addlinkform.jsp" />

<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/statics/css/activity.css"
	rel="stylesheet">

</head>
<body>
	<jsp:include page="../headform.jsp" />

	<div class="container-fluid all">
		<div class="maincontent">
			<div class="maincontent-header">
				<div class="back-btn">&lt;返回</div>
				<div class="header-title">发布新消息</div>
				<div class="null"></div>
			</div>
			<div class="mode form_mode">
						<form class="form-horizontal" id= "uploadForm"
			enctype ="multipart/form-data" method="post" action="${pageContext.request.contextPath}/bank/activity/saveActivity">

					<div class="form-group">
						<label class="col-sm-3 control-label">活动名称</label>
						<div class="col-sm-9 control-label">
							<input type="text" placeholder="活动名称，便于管理" class="form-control input-theme"
								name="theme" value="">
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">目标人群</label>
						<div class="col-sm-9">
							<select class="form-control input-object" name="object">
								<option value="全部">全部</option>
								<option value="新客户">新客户</option>
								<option value="老客户">老客户</option>
							</select>
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">活动时间</label>
						<div class="col-sm-4">
							<input type="text" placeholder="开始时间" style="background-color:#fff;"
								class="form-control input-calendar input-date_start" readonly id="startDate" name="dateStart"
								value="">
							<div class="input-label-tips"></div>
						</div>
						<label class="col-sm-1 control-label center">到</label>
						<div class="col-sm-4">
							<input type="text" placeholder="结束时间" style="background-color:#fff;"
								class="form-control input-calendar input-date_end" readonly id="endDate" name="dateEnd"
								value="">
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">活动地址</label>
						<div class="col-sm-9">
							<input type="text" placeholder="活动展开地址" class="form-control input-addr"
								name="addr" value="">
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">活动参加条件</label>
						<div class="col-sm-9">
							<textarea name="criteria" class="form-control input-criteria" id="JoinCondition"  placeholder="介绍一下活动的条件"></textarea>
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">活动内容</label>
						<div class="col-sm-9">
							<textarea name="content" id="ActivityContent" class="form-control input-content" placeholder="介绍一下活动的具体内容"></textarea>
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">奖品设置</label>
						<div class="col-sm-9">
							<textarea name="prize" class="form-control input-prize" id="PrizeContent" placeholder="设置奖品内容"></textarea>
							<div class="input-label-tips"></div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">兑换方式</label>
						<div class="col-sm-9">
							<textarea name="convertWay" class="input-convert_way" id="ConvertWay" placeholder="奖品的兑换方式"></textarea>
								<div class="input-label-tips"></div>
						</div>
					</div>

					<div class="form-group">
					<label class="col-sm-3 control-label">主题图片</label>
					<div class="col-sm-9">
					<div class="img-input">
						<div class="previewimg" id="previewimg"></div>
						<div class="img-txt">
						<div class="img-tips">上传图片尺寸为640*280像素</div>
						<div class="uploadpic btn">图片上传</div>
						<input id="fileupload" type="file" name="file" multiple style="display:none;"  onchange="setFile()" accept="image/gif,image/jpeg,image/jpg,image/png,image/svg" />
						<div class="input-label-tips"></div>
						</div>
					</div>
					</div>
					</div>
					</form>
					<div class="form-group">
						<div class="col-sm-9  col-sm-offset-3 button-bar">
							<span class="btn btn-save" id="save" >保存</span>

						</div>
					</div>
				</div>
			</div>
		</div>






<script	src="${pageContext.request.contextPath}/statics/js/activityManager/editActivity.js"></script>

	<jsp:include page="../foot.jsp" />

</body>
</html>
